const { wrap } = require('./common')

const data = {
    'GET /user': wrap({
        name: '@cname',
    }),
    'POST /login': (req, res) => {
        let payload = req.body
        if (payload === 0) {
            let data = wrap({
                username: '1',
            })
            res.send(data)
        }
    },
}

module.exports = data
